package com.qinglei.recoup;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * web工程启动类
 */
@SpringBootApplication(exclude = {QuartzAutoConfiguration.class})
@EnableTransactionManagement
//@EnableScheduling
@EnableAsync
@Slf4j
public class RecoupApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(RecoupApplication.class).run(args);
        log.info("RecoupApplication   启动成功=====》");
    }
}
